<?php if (!defined('ROOT_DIR')) exit('No direct script access!');
/**
 * @author Ervin R. Musngi <ervinmusngi@gmail.com>
 * @copyright Copyright (c) Net-Core-Tech 2012 Ervin Musngi
 * @dateCreated - December 5,2011
 * @dateModified - December 5, 2011
 */
class Input {
    
    public function post( $key = '' )
    {
        if ( isset( $_POST[$key] ) ) {
            return $_POST[$key] ;
        } else {
            return NULL;
        }
    }
    
    public function get( $key )
    {
         if ( isset( $_GET[$key] ) ) {
            return $_GET[$key] ;
        } else {
            return NULL;
        }
    }
    
}